package com.dhcc.sdc.base.dao;

import java.util.List;
import java.util.Map;

import com.dhcc.core.framework.result.node.ZTreeNode;
import com.dhcc.sdc.base.entity.SdcBaseAssessmenentryEntity;
import org.apache.ibatis.annotations.Param;
import com.dhcc.core.framework.base.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.sdc.base.entity.SdcBaseAssessmentEntity;

/**
 * 
 * 
 * @ClassName: SdcBaseAssessmentMapper
 * @Description: TODO
 * @author jumper
 * @date 2021-09-14 16:35:21
 */
public interface SdcBaseAssessmentMapper  extends BaseMapper<SdcBaseAssessmentEntity> {
	
    List<SdcBaseAssessmentEntity> list(@Param("map")Map<String, Object> map);
    List<SdcBaseAssessmentEntity> page(@Param("page") Page<SdcBaseAssessmentEntity> page,@Param("map")Map<String, Object> map);
    List<ZTreeNode> tree();

    List<SdcBaseAssessmentEntity> pageExcludeMatch(@Param("page")Page<SdcBaseAssessmentEntity> page, @Param("map")Map<String, Object> params, @Param("excludeIds")List<Long> matchAssessmentIds);

    List<Long> selectByCodes(@Param("codes") List<String> codes);

    List<SdcBaseAssessmentEntity> selectByEntityId(@Param("entityId") Long entityId);

    SdcBaseAssessmentEntity selectByAssessmenentryId(@Param("assessmenentryId") Long assessmenentryId);
}
